home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Archive / Graphics / QuickDraw / ScreenFKey / README next >
Encoding:
Text File  |  2000-09-28  |  1.5 KB  |  33 lines  |  [TEXT/MPS ]

  1. Macintosh
  2. Sample Code Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5. #22:    ScreenFKey
  6.  
  7. Written by:    Guillermo Ortiz
  8.  
  9. Versions:            1.00                        February 1990
  10.  
  11. Components:            ScreenFKey.p                 February 1, 1990
  12.                     ScreenFKey.a                February 1, 1990
  13.                     ScreenFKey.make             February 1, 1990
  14. _____________________________________________________________________________
  15.  
  16. ScreenFKey is a basic example on how to spool a PICT file to disk by
  17. replacing the bottleneck PutPICProc, it saves the contents of the screen to
  18. a file. The FKEY creates ten files Screen 0 through Screen 9; it is necessary
  19. to erase or rename old files when the limit is reached. 
  20.  
  21. This FKEY works in any Macintosh computer and saves the screen regardless of
  22. the setting of the screen; to use, it has to be added to the System file using
  23. ResEdit.
  24.  
  25. ATTENTION 32-BIT QD USERS: A 'feature' in 32 Bit Quickdraw makes it possible
  26. for this FKEY to fail under normal conditions (normal means it would work
  27. okay without 32-Bit QD) the symptoms are lost cursor and empty pictures. The
  28. cheap solutions are use Finder or increase the partition size for your
  29. application.  As a quick reference if the main screen is set to 8-bits deep
  30. then 32-Bit QD will try to allocate a 300K handle, when the main screen is
  31. a direct device 32-bit deep then 1.2M is necessary. Future versions will
  32. compensate for this anomalous behavior.
  33.